package com.xunfang.service;

import com.github.pagehelper.PageInfo;
import com.xunfang.bean.Building;
import com.xunfang.bean.Result;

import java.util.List;

/**
 * @author yellow Doctor
 * @date 2025-09-12
 * @desc https://blog.csdn.net/hekai7217
 */
public interface BuildingService {

    Result<PageInfo> selectAllBuilding(Integer currentPage, Integer pageSize);

    Result addBuild(Building building);

    Result deleteBuild(int id);

    Result batchBuild(List<Integer> ids);

    Result updateBuild(Building building);

}
